import http from "@/http";
import {ListXspqParam,XspqModel} from './XspqModel'
 
export const addXspqApi = (param:XspqModel) => {
    return http.post("/api/xspq",param)
}

export const getListApi = (param:ListXspqParam) => {
    return http.get("/api/xspq/list",param)
}

export const editXspqApi = (param:XspqModel) => {
    return http.put("/api/xspq",param)
}

export const deleteXspqApi = (id:string) => {
    return http.delete(`/api/xspq/${id}`)
}
 